package br.ufrrj.im.redes.model;

import java.io.Serializable;

public abstract class Message implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -8541442921434811206L;
	private User userFrom;

	
	
	public Message(User userFrom) {
		this.setUserFrom(userFrom);
	}
	
	public Message(){
		
	}

	/**
	 * @return the user
	 */
	public User getUserFrom() {
		return userFrom;
	}

	/**
	 * @param user the user to set
	 */
	public void setUserFrom(User userFrom) {
		this.userFrom = userFrom;
	}
	
	

}
